<?php
Class Module_Admin_Grid_Role extends Engine_Form_Grid{

    public function init(){
        $this->addColumn(new Engine_Grid_Column(array(
            'name'=>'Роль',
            'field'=>'role',
        )));

        $this->initRoleActions();
    }

    public function initRoleActions(){
        $this->addAction(new Engine_Grid_Action(array(
            'name'=>'Изменить',
            'href'=>'/admin/catalog/editrole/id/%id%/',
        )));
        }
}